package com.dc.refactoring._3_重新组织数据._12_ReplaceTypeCodeWithSubClasses.step1;

/**
 * Description: 雇员类
 * @author: gdc
 * @date: 2020/11/30
 * @version 1.0
 */
public class Employee {

    /**
     * 雇员类型
     */
    private int type;

    /**
     * 工程师
     */
    public static final int ENGINEER = 0;
    /**
     * 推销员
     */
    public static final int SALESMAN = 1;
    /**
     * 经理
     */
    public static final int MANAGER = 2;

    public Employee(int type) {
        this.type = type;
    }
}
